package com.ruoyi.eduadmin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 教学跟踪对象 t_track
 * 
 * @author xf
 * @date 2022-12-25
 */
public class Track extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 班级 */
    @Excel(name = "班级")

    private String className;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生 */
    private Long studentId;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String problemType;

    /** 扣分情况 */
    @Excel(name = "扣分情况")
    private Integer deductPoints;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date happenTime;

    /** 跟踪次数 */
    @Excel(name = "跟踪次数")
    private Long count;

    /** 跟踪老师 */
    @Excel(name = "跟踪老师")
    private Long teacherId;

    /** 备注 */
    @Excel(name = "备注")
    private String remakes;

    /** 问题描述 */
    private String problemDescription;



    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setProblemType(String problemType) 
    {
        this.problemType = problemType;
    }

    public String getProblemType() 
    {
        return problemType;
    }
    public void setDeductPoints(Integer deductPoints) 
    {
        this.deductPoints = deductPoints;
    }

    public Integer getDeductPoints() 
    {
        return deductPoints;
    }
    public void setHappenTime(Date happenTime) 
    {
        this.happenTime = happenTime;
    }

    public Date getHappenTime() 
    {
        return happenTime;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setRemakes(String remakes) 
    {
        this.remakes = remakes;
    }

    public String getRemakes() 
    {
        return remakes;
    }
    public void setProblemDescription(String problemDescription) 
    {
        this.problemDescription = problemDescription;
    }

    public String getProblemDescription() 
    {
        return problemDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentName", getStudentName())
            .append("studentId", getStudentId())
            .append("problemType", getProblemType())
            .append("deductPoints", getDeductPoints())
            .append("happenTime", getHappenTime())
            .append("count", getCount())
            .append("teacherId", getTeacherId())
            .append("remakes", getRemakes())
            .append("problemDescription", getProblemDescription())
            .append("className", getClassName())
            .toString();
    }
}
